<template>
  <div class="illnesslog">
    <el-table :data="tableData" style="width: 70%; margin: 50px auto">
      <el-table-column prop="date" label="记录时间" width="250">
      </el-table-column>
      <el-table-column prop="name" label="视频内容" width="250">
      </el-table-column>
      <el-table-column prop="address" label="图片内容" width="250">
      </el-table-column>
      <el-table-column prop="address" label="文字内容" width="250">
      </el-table-column>
      <el-table-column label="操作">
        <el-button size="mini" @click="chakan">查看</el-button>
      </el-table-column>
    </el-table>
    <div class="paging">
      <el-pagination background layout="prev, pager, next" :total="1000">
      </el-pagination>
    </div>
    <div class="btn">
      <el-button @click="back">返回</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "DoctorEndMasterIllnessLog",

  data() {
    return {
      tableData: [
        {
          date: "2016-05-02",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1518 弄",
        },
        {
          date: "2016-05-04",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1517 弄",
        },
        {
          date: "2016-05-01",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1519 弄",
        },
        {
          date: "2016-05-03",
          name: "王小虎",
          address: "上海市普陀区金沙江路 1516 弄",
        },
      ],
    };
  },

  mounted() {},

  methods: {
    chakan() {
      this.$router.push("/chakan");
    },
    back() {
      this.$router.push("/patient");
    },
  },
};
</script>

<style lang="less" scoped>
// .illnesslog {
//   text-align: center;
// }
.btn {
  width: 60px;
  margin: 30px auto;
}
</style>